package com.sunday.aomicaichang.model;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by yun_sheng on 2017/6/4.
 */

public class Integral {

    /**
     * records : [{"id":547,"createTime":"2017-06-02 10:01:17","createDate":"2017-06-02","score":5,"type":2,"remark":"签到奖励"},{"id":546,"createTime":"2017-06-01 15:44:44","createDate":"2017-06-01","score":-36,"type":3,"remark":"积分兑换,订单编号：SCORE201706019862136446"}]
     * totalSignDay : 1
     * totalScore : -31
     */

    private int totalSignDay;
    private BigDecimal totalScore;
    private List<RecordsBean> records;

    public int getTotalSignDay() {
        return totalSignDay;
    }

    public void setTotalSignDay(int totalSignDay) {
        this.totalSignDay = totalSignDay;
    }

    public BigDecimal getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {
        /**
         * id : 547
         * createTime : 2017-06-02 10:01:17
         * createDate : 2017-06-02
         * score : 5
         * type : 2
         * remark : 签到奖励
         */

        private int id;
        private String createTime;
        private String createDate;
        private BigDecimal score;
        private int type;
        private String remark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public BigDecimal getScore() {
            return score;
        }

        public void setScore(BigDecimal score) {
            this.score = score;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
    }
}
